Add all three channels to the sample .travis.yml
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Fri, 13 May 2016 23:53:19 +0000 (19:53 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Fri, 13 May 2016 23:53:19 +0000 (19:53 -0400)
src/doc/guide.md

index 413705198bd8b8ada5777e7fc2865266325b830e..f54f0dcf2fe3f56cc48647d7508f659972164fe2 100644 (file)
@@ -376,7 +376,16 @@ To test your project on Travis CI, here is a sample `.travis.yml` file:
 
 ```
 language: rust
+rust:
+  - stable
+  - beta
+  - nightly
+matrix:
+  allow_failures:
+    - rust: nightly
 ```
 
-Please see the [Travis CI Rust documentation](https://docs.travis-ci.com/user/languages/rust/)
-for more information.
+This will test all three release channels, but any breakage in nightly
+will not fail your overall build. Please see the [Travis CI Rust
+documentation](https://docs.travis-ci.com/user/languages/rust/) for more
+information.